/**
 * jims
 */
package com.jims.master.modules.sync.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.sys.entity.OrgDept;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * 检验项目管理Entity
 * @author chentao
 * @version 2017-02-28
 */
public class LabVsClinic extends DataEntity<LabVsClinic> {
	
	private static final long serialVersionUID = 1L;
	private String labId;		// 检验类型ID
	private String clinicId;		// 诊疗项目ID
	private String specimen;		// 标本
	private String labTube; //材料管
	private String performedBy;		// 执行科室
	private String remarks;		// 备注信息
    private ClinicItemDict clinicItemDict; //诊疗项目实体
	private LabType labType;
	private OrgDept orgDept;//
    private Integer sort;		// 排序
	private String specimenName;
	private List<PriceList> priceListList; // 价表项目

	public List<PriceList> getPriceListList() {
		return priceListList;
	}

	public void setPriceListList(List<PriceList> priceListList) {
		this.priceListList = priceListList;
	}

	public LabVsClinic() {
		super();
        this.sort=30;
	}

	public LabVsClinic(String id){
		super(id);
	}

	public String getSpecimenName() {
		return specimenName;
	}

	public void setSpecimenName(String specimenName) {
		this.specimenName = specimenName;
	}

	@Length(min=1, max=64, message="检验类型ID长度必须介于 1 和 64 之间")
	public String getLabId() {
		return labId;
	}

	public void setLabId(String labId) {
		this.labId = labId;
	}
	
	@Length(min=1, max=64, message="诊疗项目ID长度必须介于 1 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@Length(min=0, max=100, message="标本长度必须介于 0 和 100 之间")
	public String getSpecimen() {
		return specimen;
	}

	public void setSpecimen(String specimen) {
		this.specimen = specimen;
	}
	
	@Length(min=0, max=100, message="执行科室长度必须介于 0 和 100 之间")
	public String getPerformedBy() {
		return performedBy;
	}

	public void setPerformedBy(String performedBy) {
		this.performedBy = performedBy;
	}
	
	@Length(min=0, max=500, message="备注信息长度必须介于 0 和 500 之间")
	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public LabType getLabType() {
		return labType;
	}

	public void setLabType(LabType labType) {
		this.labType = labType;
	}

	public ClinicItemDict getClinicItemDict() {
		return clinicItemDict;
	}

	public void setClinicItemDict(ClinicItemDict clinicItemDict) {
		this.clinicItemDict = clinicItemDict;
	}

	public OrgDept getOrgDept() {
		return orgDept;
	}

	public void setOrgDept(OrgDept orgDept) {
		this.orgDept = orgDept;
	}

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

	public String getLabTube() {
		return labTube;
	}

	public void setLabTube(String labTube) {
		this.labTube = labTube;
	}
}